package view;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import java.awt.BorderLayout;
import javax.swing.JSeparator;
import javax.swing.SpringLayout;
import javax.swing.JToggleButton;
import javax.swing.JToolBar;
import javax.swing.JButton;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.AbstractListModel;


public class Site_engg1 extends JFrame{
	public Site_engg1() {
		SpringLayout springLayout = new SpringLayout();
		getContentPane().setLayout(springLayout);
		
		JSeparator separator = new JSeparator();
		springLayout.putConstraint(SpringLayout.NORTH, separator, -35, SpringLayout.SOUTH, getContentPane());
		springLayout.putConstraint(SpringLayout.WEST, separator, 10, SpringLayout.WEST, getContentPane());
		springLayout.putConstraint(SpringLayout.SOUTH, separator, -33, SpringLayout.SOUTH, getContentPane());
		getContentPane().add(separator);
		
		JSeparator separator_1 = new JSeparator();
		springLayout.putConstraint(SpringLayout.WEST, separator_1, 10, SpringLayout.WEST, getContentPane());
		springLayout.putConstraint(SpringLayout.EAST, separator_1, -10, SpringLayout.EAST, getContentPane());
		springLayout.putConstraint(SpringLayout.EAST, separator, 0, SpringLayout.EAST, separator_1);
		springLayout.putConstraint(SpringLayout.NORTH, separator_1, 76, SpringLayout.NORTH, getContentPane());
		springLayout.putConstraint(SpringLayout.SOUTH, separator_1, 78, SpringLayout.NORTH, getContentPane());
		getContentPane().add(separator_1);
		
		JTabbedPane tabbedPane = new JTabbedPane(JTabbedPane.TOP);
		springLayout.putConstraint(SpringLayout.NORTH, tabbedPane, 8, SpringLayout.SOUTH, separator_1);
		springLayout.putConstraint(SpringLayout.WEST, tabbedPane, 10, SpringLayout.WEST, getContentPane());
		springLayout.putConstraint(SpringLayout.SOUTH, tabbedPane, -6, SpringLayout.NORTH, separator);
		springLayout.putConstraint(SpringLayout.EAST, tabbedPane, -114, SpringLayout.EAST, getContentPane());
		getContentPane().add(tabbedPane);
		
		JPanel panel = new JPanel();
		tabbedPane.addTab("Status Checking", null, panel, null);
		SpringLayout sl_panel = new SpringLayout();
		panel.setLayout(sl_panel);
		
		JLabel lblMaterialSlip = new JLabel("Material Issue Slip");
		sl_panel.putConstraint(SpringLayout.NORTH, lblMaterialSlip, 29, SpringLayout.NORTH, panel);
		sl_panel.putConstraint(SpringLayout.WEST, lblMaterialSlip, 44, SpringLayout.WEST, panel);
		sl_panel.putConstraint(SpringLayout.EAST, lblMaterialSlip, 251, SpringLayout.WEST, panel);
		panel.add(lblMaterialSlip);
		
		JLabel lblIndents = new JLabel("Indents");
		sl_panel.putConstraint(SpringLayout.NORTH, lblIndents, 27, SpringLayout.SOUTH, lblMaterialSlip);
		sl_panel.putConstraint(SpringLayout.WEST, lblIndents, 0, SpringLayout.WEST, lblMaterialSlip);
		sl_panel.putConstraint(SpringLayout.EAST, lblIndents, 0, SpringLayout.EAST, lblMaterialSlip);
		panel.add(lblIndents);
		
		JLabel lblGin = new JLabel("GIN Processing");
		sl_panel.putConstraint(SpringLayout.NORTH, lblGin, 26, SpringLayout.SOUTH, lblIndents);
		sl_panel.putConstraint(SpringLayout.WEST, lblGin, 45, SpringLayout.WEST, panel);
		sl_panel.putConstraint(SpringLayout.EAST, lblGin, 0, SpringLayout.EAST, lblMaterialSlip);
		panel.add(lblGin);
		
		JPanel panel_1 = new JPanel();
		tabbedPane.addTab("Generate Indent", null, panel_1, null);
	}
}
